package com.tsj.mvp.demo7;

public abstract class BasePresenter7<V extends BaseView7> {

    public V view;

    public V getView(){
        return view;
    }

    public void attachView(V view){
        if(this.view == null){
            this.view = view;
        }
    }
    public void detachView(){
        if(this.view != null){
            this.view = null;
        }
    }
}
